package com.jiangsong.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author jiangsong
 * @date 2021/4/15
CREATE TABLE fee_rate_his (
id INT AUTO_INCREMENT PRIMARY KEY,
acc_no VARCHAR(50) NOT NULL,
proj_no CHAR(4) NOT NULL,
level INT NOT NULL,
proj_desc VARCHAR(50) NOT NULL,
amt DECIMAL(10,5),
rate DECIMAL(10,5),
charge_date CHAR(8) NOT NULL,
trace_id VARCHAR(50) NOT NULL,
serv_no varchar(10) NOT NULL,
kind INT NOT NULL,
DATE CHAR(8) NOT NULL,
version INT DEFAULT 1,
created_stamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_stamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class FeeRateHis extends AbstractEntity {

    private Integer id;

    private String accNo;

    private String projNo;

    private Integer level;

    private String projDesc;

    private BigDecimal amt;

    private BigDecimal rate;

    private String chargeDate;

    private String traceId;

    private String servNo;

    private int kind;

    private String modifiedDesc;

    private String date;


}
